<?php
declare(strict_types = 1);

namespace vinchan\encryption\Kernel;

interface CodeInterface
{
	/**
	 * [解码]
	 * @param  string $data [待解码数据]
	 * @return [string]       [description]
	 */
	public function decode(string $data):string;

	/**
	 * [加码]
	 * @param  string $data [加码数据]
	 * @return [string]       [description]
	 */
	public function encode(string $data):string;
}
